"""
    编写python时，需要注意数据类型，当两种类型的数据拼接在一起时，如果不转换则会出现错误
"""

age = 23
# message = "Happy" + age + "rd Birthday!"
# print(message)

''' 
报错 ：
    line 6
    message  = "message = "Happy" + age + "rd Birthday!"
                                                        ^
    SyntaxError: unterminated string literal (detected at line 6)
'''

# 需转换数据类型 ：
message1 = "Happy" + str(age) + "rd Birthday!"
print(message1)
